package j01xiancheng;


public class J4Runaable {
    public static void main(String[] args) {
        Runnable run = ()->{
            System.out.println(123);
        };

        Thread t1 = new Thread(run);

        System.out.println("t1 = " + t1);
        System.out.println("=====");
        Thread t2 = new Thread(()->{
            System.out.println(2222);
        });
        System.out.println("t2 = " + t2);
        t2.start();

        System.out.println("====");
        new Thread(()->{
            System.out.println(888);
        }).start();
    }
}
